package com.qf.spring01.dao;

import com.qf.spring01.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface UserDao {
    List<User> getAllUser();

    User getSelect(@Param("userId") Integer userId);

    int getUpdate(@Param("userId") Integer userId,@Param("amount") Integer amount);

}
